home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Amster
- */
-
- #include "include/config.h"
-
- long __stack = AMSTER_STACK ;
-
- #include <proto/exec.h>
- #include <dos.h>
-
- #include "include/thread.h"
- #include "include/napster.h"
- #include "include/prefs.h"
- #include "include/protos.h"
-
-
- int main(int argc, char *argv[])
- {
- long sig;
-
- sig = AllocSignal(-1);
- if (sig == -1) return 20;
- nap_sigmask = 1L << sig;
-
- if (!th_init()) return 20;
-
- if (argc == 0) {
- argc = _WBArgc;
- argv = _WBArgv;
- }
- prf_setup(argc, argv);
-
- gui_run(nap_sigmask);
-
- th_exit();
- FreeSignal(sig);
-
- return 0;
- }
-